package com.ruoyi.system.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.anno.SnowflakeId;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 货架信息对象 wms_warehouse_rack
 *
 * @author ruoyi
 * @date 2025-06-17
 */
@Data
public class WmsWarehouseRack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货架ID */
    @SnowflakeId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long rackId;

    /** 所属库区ID */
    @ExcelProperty(value = "所属库区ID")
    private Long areaId;

    /** 货架编码 */
    @ExcelProperty(value = "货架编码")
    private String rackCode;

    /** 货架类型:1-托盘架,2-货架,3-料箱,4-地面堆存,5-其他 */
    private String rackType;

    /** 货架层数 */
    @ExcelProperty(value = "货架层数")
    private Long levels;

    /** 货架列数 */
    @ExcelProperty(value = "货架列数")
    private Long columns;

    /** 最大承重(kg) */
    @ExcelProperty(value = "最大承重(kg)")
    private BigDecimal maxWeight;

    /** 长度(mm) */
    @ExcelProperty(value = "长度(mm)")
    private BigDecimal length;

    /** 宽度(mm) */
    @ExcelProperty(value = "宽度(mm)")
    private BigDecimal width;

    /** 高度(mm) */
    @ExcelProperty(value = "高度(mm)")
    private BigDecimal height;

    /** 货架状态 */
    @ExcelProperty(value = "货架状态")
    private String status;

    /** 库区名称 */
    @ExcelProperty(value = "库区名称")
    private String areaName;
}
